//
//  BookParkSpaceController.h
//  KuWeiPark
//
//  Created by Kevin Su on 15/4/30.
//  Copyright (c) 2015年 Clief. All rights reserved.
//
//  停车预约
#import <UIKit/UIKit.h>
#import "ParkAnnotationView.h"
#import "MKScrollView.h"
#import "ParkingSpaceButton.h"

#define BOOKPARKSPACE_TYPE_FREE @"FreeTime" //闲时预约
#define BOOKPARKSPACE_TYPE_BUSY @"BusyTime" //忙时预约

#define SCENE_PARKINGPORTMAP_POPUP @"PARKINGPORTMAP_POPUP" //查看停车场大图
#define SCENE_PARKINGPORTMAP_NORMAL @"PARKINGPORTMAP_NORMAL" //显示停车场小图

@interface BookParkSpaceController : UIViewController

@property (nonatomic , strong) NSString * type;

@property (nonatomic, strong) NSString *parkingId; //停车场ID

@property (strong, nonatomic) IBOutlet NSLayoutConstraint *contentHeightConstraint;

@property (strong, nonatomic) IBOutlet NSLayoutConstraint *firstParkCarViewHeightConstraint;

@property (strong, nonatomic) IBOutlet NSLayoutConstraint *secondParkCarViewHeightConstraint;

@property (strong, nonatomic) ParkAnnotationView *parkAnnotationView;

//最多预约2个车位
@property (strong, nonatomic) IBOutlet UILabel *tipLabel;

//第一个车牌View
@property (strong, nonatomic) IBOutlet UIView *firstCarNoView;
@property (strong, nonatomic) IBOutlet UILabel *firstParkPlaceNoLabel;
@property (strong, nonatomic) IBOutlet UITextField *firstCarNoTextField;
//选中的第一个车位信息
@property (nonatomic, strong) ParkingSpaceInfoModel *selectedFirstParkingSpaceModel;

//第二个车牌View
@property (strong, nonatomic) IBOutlet UIView *secondCarNoView;
@property (strong, nonatomic) IBOutlet UILabel *secondParkPlaceNoLabel;
@property (strong, nonatomic) IBOutlet UITextField *secondCarNoTextField;
//选中的第二个车位信息
@property (nonatomic, strong) ParkingSpaceInfoModel *selectedSecondParkingSpaceModel;

@property (strong, nonatomic) IBOutlet UIButton *addNewParkCarBtn;

//预定车位数1个  合计0.01元
@property (strong, nonatomic) IBOutlet UILabel *bookResultLabel;

//支付订金
@property (strong, nonatomic) IBOutlet UIButton *payBtn;

//
//===========================

//停车场地图View
@property (strong, nonatomic) IBOutlet UIView *parkView;
@property (strong, nonatomic) IBOutlet NSLayoutConstraint *parkViewHeightConstraint;

//===========================
//
@end
